import request from '@/router/axios'
// 商品发布
function getProductList(data) {
  return request({
    url: '/goods/api/ManGoods/GetGoodsListByShop',
    method: 'post',
    data
  })
}
// 获取商品分类
function getCategory(data) {
  return request({
    url: '/goods/api/ManGoodsType/GetDropType',
    method: 'post',
    data
  })
}
// 商品上架下架删除
function PutStatus(data) {
  return request({
    url: '/goods/api/ManGoods/PutStatus',
    method: 'post',
    data
  })
}
// 商品为通过原因
function getReason(data) {
  return request({
    url: '/goods/api/ManGoodsOpLog/GetGoodsUnCheckRemark',
    method: 'post',
    data
  })
}
export default { getProductList, getCategory, PutStatus, getReason }